import React, { Component } from 'react';

// import Hoc from './hoc';
import Child from './Child';
class Mycom extends Component {
    state = {
        name: '主席同志'
    }
    render() {
        return (
            <div>
                我是一个普通的组件
                <Child username={this.state.name}></Child>
            </div>
        );
    }
}

export default Mycom;
